package com.panda.sports.manager.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

/**
 * @author :  dorich
 * @project Name :  panda_data_service
 * @package Name :  com.panda.sports.manager.vo
 * @description :  开盘操作 传参vo
 * @date: 2019-08-13 14:50
 * @ModificationHistory Who    When    What
 * --------  ---------  --------------------------
 */
@Data
public class MatchStartVo {

    @ApiModelProperty(name="赛事id",allowableValues = "range[1, infinity]")
    @NotNull(message = "比赛ID不能为空")
    @Min(value = 1,message = "賽事ID最小值不能小于1")
    private Long id;

    @ApiModelProperty(name = "操盘平台", notes = "谁负责提供风控。SR（MTS操盘） BC(RMS操盘) PA(Panda操盘)等")
    @NotNull(message = "操盘平台不能为空")
    private String riskManagerCode;

    @ApiModelProperty(name = "数据供应商编码", notes = "SR（SportRadar） BC(BetConstruct)")
    @NotNull(message = "数据供应商编码不能为空")
    private String dataSourceCode;

    @ApiModelProperty(name = "是否支持赛前盘",allowableValues = "0,1",notes="0:支持；1：不支持")
    private Integer preMatchSupport;

    @ApiModelProperty(name = "是否支持滚球",allowableValues = "0,1",notes="0:支持；1：不支持")
    @NotNull(message = "必须明确确认是否支持滚球盘")
    private Integer liveOddSupport;

    @ApiModelProperty(name = "操盘组负责人id", allowableValues="min=0")
    @NotNull(message = "操盘组负责人不能为空")
    private Long operatorLiable;

    @ApiModelProperty(name = "赛前操盘组的id", allowableValues="min=0")
    private Long preMatchOperateGroupId;

    @ApiModelProperty(name = "滚球操盘组的id", allowableValues="min=0")
    @NotNull(message = "必须明确确认滚球盘的操盘组")
    private Long liveOperateGroupId;
}